package com.xyht.medicine_management_system.modules.order.entity.req;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 订单表
 * </p>
 *
 * @author XYHT
 * @since 2023-12-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_order")
@ApiModel(value="MmsOrder对象", description="订单表")
public class SubmitOrderReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "商品及数量")
    private List<SimpleMedicineReq> simpleMedicineList;

    @ApiModelProperty(value = "配送地址id")
    private String addressId;

    @ApiModelProperty(value = "用户使用的优惠券关系id")
    private String userCouponId;

    @ApiModelProperty(value = "订单备注信息")
    private String notes;

    @ApiModelProperty(value = "订单类型(0.普通订单(默认)))")
    private Integer type;

    @ApiModelProperty(value = "订单级别(0.等级0(默认)))")
    private Integer orderLevel;

    @ApiModelProperty(value = "支付方式")
    private String paymentMethod;


}
